package ooday02;

public class Animaltest {
    public static void main(String[] args) {
        Fish fish=new Fish("鱼鱼",2,"红");
        Chick chick=new Chick("唧唧",3,"黑");
        Dog dog=new Dog("旺旺",5,"白");
        Animal animal=new Animal("神秘",100,"五彩");
        animal.drink();
        animal.eat();
        fish.eat();
        fish.drink();
        chick.layEggs();
        chick.eat();
        chick.drink();
        dog.lookhome();
        dog.eat();
    }
}
